package com.jtny.nytb.weather.service;

import com.jtny.component.entity.PageData;
import com.jtny.nytb.weather.entity.vo.WeatherBasicInfoPageQueryParamVO;
import com.jtny.nytb.weather.entity.vo.WeatherBasicInfoVO;
import com.jtny.nytb.weather.entity.vo.WeatherInfoTypeVO;

import java.util.List;
import java.util.Map;

public interface ConfigResultsService {

    /**
     * 分页查询配置结果页面信息
     * @param weatherBasicInfoPageQueryParamVO
     * @return
     */
    PageData<WeatherBasicInfoVO> pageQueryByBasicInfo(WeatherBasicInfoPageQueryParamVO weatherBasicInfoPageQueryParamVO);

    /**
     * 查询关联基础信息的字段列表
     * @param id 基础信息字段id
     * @return
     */
    List<Map<String, String>> selectFieldByBasicInfo(Long id);

    /**
     * 查询字段返回详细信息列表
     * @param id 基础信息字段id
     * @return
     */
    List<WeatherBasicInfoVO> selectFieldValueByBasicInfo(Long id);

    /**
     * 查询天气信息类型
     * @return
     */
    List<WeatherInfoTypeVO> selectWeatherInfoType();


}
